package com.exchange.code.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.Date;

/**
 * 代码表/数据字典(SysCode)实体类
 *
 * @author makejava
 * @since 2020-10-11 15:22:29
 */
@Component
@TableName("sys_code")
public class SysCode implements Serializable {
    private static final long serialVersionUID = -67460117074125371L;
    /**
    * 代码ID
    */
    @TableId
    private Long codeId;
    /**
    * 代码类型
    */
    private String codeType;
    /**
    * 代码
    */
    private String codeValue;
    /**
    * 代码名称
    */
    private String codeName;
    /**
    * 父级代码
    */
    private String codeParent;
    /**
    * 是否叶子节点（0：非叶子节点，1：叶子节点）
    */
    private Integer isLeaf;
    /**
    * 创建人（用户ID）
    */
    private Integer createBy;
    /**
    * 创建时间
    */
    private Date createTime;
    /**
    * 修改人（用户ID）
    */
    private Integer updateBy;
    /**
    * 修改时间
    */
    private Date updateTime;
    /**
    * 代码排序
    */
    private Integer codeOrder;
    /**
    * 代码状态（0：无效，1：有效）
    */
    private Integer codeStatus;


    public Long getCodeId() {
        return codeId;
    }

    public void setCodeId(Long codeId) {
        this.codeId = codeId;
    }

    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }

    public String getCodeValue() {
        return codeValue;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }

    public String getCodeParent() {
        return codeParent;
    }

    public void setCodeParent(String codeParent) {
        this.codeParent = codeParent;
    }

    public Integer getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(Integer isLeaf) {
        this.isLeaf = isLeaf;
    }

    public Integer getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Integer getCodeOrder() {
        return codeOrder;
    }

    public void setCodeOrder(Integer codeOrder) {
        this.codeOrder = codeOrder;
    }

    public Integer getCodeStatus() {
        return codeStatus;
    }

    public void setCodeStatus(Integer codeStatus) {
        this.codeStatus = codeStatus;
    }

}
